/**
 * @description 定义店铺APi
 */

 import { SHOP_LIST_URL, SHOP_UPDATE_URL,SHELVES_LIST_URL } from '@/config/urls.conf'
 import ajax from './ajax'
 
 export function shopListApi(params){
     return ajax({
         url:SHOP_LIST_URL,
         params
     })
 }
 
 export function shopStateApi(data){
     // debugger
     return ajax({
         method:'POST',
         url:SHOP_UPDATE_URL,
         data
     })
 }

 export function shelvesListApi(){
    return ajax({
        url:SHELVES_LIST_URL,
    })
 }